<script setup>
import titlebg3 from '@/assets/img/titlebg/titlebg3.webp'
</script>

<template>
    <section class="section">
        <div class="container">
            <el-header>
                <el-image :src="titlebg3" class="titlelogo" />
                <h2 class="title">体验课在线预约</h2>
                <div class="subtitle">
                    用专业的教学阵容专注打造的教学品质
                </div>
            </el-header>

            <main class="subscribe-main">
                <el-form>
                    <el-form-item label="姓名：">
                        <el-input style="width: 15rem" placeholder="请输入您的姓名"></el-input>
                    </el-form-item>

                    <el-form-item label="小孩的姓名：">
                        <el-input style="width: 15rem" placeholder="请输入您的小孩姓名"></el-input>
                    </el-form-item>

                    <el-form-item label="小孩年龄：">
                        <el-input style="width: 15rem" placeholder="请输入您的小孩年龄"></el-input>
                    </el-form-item>

                    <el-form-item label="电话：">
                        <el-input style="width: 15rem" placeholder="请输入您的电话"></el-input>
                    </el-form-item>

                    <el-form-item label="常用邮箱：">
                        <el-input style="width: 15rem" placeholder="请输入您的常用邮箱"></el-input>
                    </el-form-item>

                    <el-form-item label="报名语言：">
                        <el-input style="width: 15rem" placeholder="请选择要报名的语言"></el-input>
                    </el-form-item>

                    <el-form-item label="留言：">
                        <el-input style="width: 72rem; height: 10rem" placeholder="我们能为您做什么"></el-input>
                    </el-form-item>

                    <el-form-item>
                        <el-button color="#ffad2b">
                            提交
                        </el-button>
                    </el-form-item>
                </el-form>


            </main>
        </div>
    </section>
</template>

<style lang="scss" scoped>
.el-form {
    width: 1190px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    .el-form-item {
        margin-bottom: 2rem;
        margin-right: 0rem;
    }
    .el-form-item:nth-child(3n) {
        margin-right: 0;
    }
    .el-form-item:nth-child(7) {
        :deep() {
            .el-input__wrapper {
                align-items: flex-start;
            }
        }
    }

    .el-form-item:last-child {
        .el-button {
            width: 15rem;
            height: 3rem;
            color: #fff;
        }
    }
}
</style>